//
//  GestureBtn.m
//  Demo
//
//  Created by LG on 2018/12/28.
//  Copyright © 2018 LG. All rights reserved.
//

#import "GestureBtn.h"

@implementation GestureBtn

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [super touchesBegan:touches withEvent:event];
    NSLog(@"touchesBegan");
}

- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [super touchesMoved:touches withEvent:event];
    NSLog(@"touchesMoved");
}

- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [super touchesCancelled:touches withEvent:event];
    NSLog(@"touchesCancelled");
}

- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [super touchesEnded:touches withEvent:event];
    NSLog(@"touchesEnded");
}

//-(BOOL)beginTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event
//{
//    NSLog(@"beginTrackingWithTouch");
//    return NO;
//}
//
//- (BOOL)continueTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event
//{
//    NSLog(@"continueTrackingWithTouch");
//    return NO;
//}
//
//- (void)endTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event
//{
//    NSLog(@"endTrackingWithTouch");
//}
//
//- (void)cancelTrackingWithEvent:(UIEvent *)event
//{
//    NSLog(@"cancelTrackingWithEvent");
//}

@end
